﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;


    public class BizShift
    {
        #region Thuoc tinh
        public string shift_charid { get; set; }
        public string name { get; set; }
        public DateTime starttime { get; set; }
        public DateTime middletime { get; set; }
        public DateTime endtime { get; set; }
        #endregion

        #region Ham thiet lap
        public BizShift() { }
        public BizShift(string pShift_charid, string pName)
        {
            shift_charid = pShift_charid;
            name = pName;
        }
        public BizShift(string pShift_charid, string pName, DateTime pStarttime, DateTime pMiddletime, DateTime pEndtime) 
        {
            shift_charid = pShift_charid;
            name = pName;
            starttime = pStarttime;
            middletime = pMiddletime;
            endtime = pEndtime;

        }
        #endregion

        #region Phuong thuc
        public static BizShift getShiftbyID(string pShift_charid)
        { 
            return DalShift.getShiftbyID(pShift_charid);
        }
        #endregion
}
